package almacenamiento;

import org.cocos2d.layers.CCLayer;
import org.cocos2d.nodes.CCSprite;
import org.cocos2d.types.CGPoint;

public class capaFondo extends CCLayer {
	
	 CCSprite fondo;
	
	public capaFondo(float altura, float anchura) {
//		CGSize tamañoVentana = CCDirector.sharedDirector().displaySize();
	    fondo = CCSprite.sprite("parque3.png");
	    
//	    fondo.setPosition(0, 0);
	    fondo.setAnchorPoint(CGPoint.ccp(0, 0));
	    fondo.setScaleX(anchura);
	    fondo.setScaleY(altura);
	    addChild(fondo);
	}

}
